import { fetchGet, fetchPost } from "../utils/http.js";
/**
 * 获取something
 */
export const fnGetHelpType = () => {
  return fetchPost("User/helpType", {});
};

export const fnGetHelpData = (param) => {
  return fetchPost("User/help", param);
};

export const fnGetMerchantData = () => {
  return fetchPost("User/merchantUrl", {})
}

export const fnGetDownload = () => {
  return fetchPost("User/app", {})
}

export const fnGetKefu = () => {
  return fetchPost('User/qq', {})
}

export const fnGetContact = () => {
  return fetchPost('User/call',{})
}

export default {
  fnGetHelpType,
  fnGetHelpData,
  fnGetMerchantData,
  fnGetDownload,
  fnGetKefu,
  fnGetContact
}
